<template>
    <div class="box">
        <div class="content">
            <table>
                <tbody>
                    <tr>
                        <td>
                            服务时间
                        </td>
                        <td>
                            2022-12-25
                        </td>
                    </tr>
                    <tr>
                        <td>
                            服务地点
                        </td>
                        <td>
                            中山公园
                        </td>
                    </tr>
                    <tr>
                        <td>
                            服务内容
                        </td>
                        <td>
                            啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
                        </td>
                    </tr>
                    <tr>
                        <td>
                            服务图片
                        </td>
                        <td class="imgs">
                            <img src="@/assets/user.jpg">
                            <img src="@/assets/user.jpg">
                            <img src="@/assets/user.jpg">
                            <img src="@/assets/user.jpg">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            服务时长
                        </td>
                        <td>
                            2小时
                        </td>
                    </tr>
                    <tr>
                        <td>
                            纪实时间
                        </td>
                        <td>
                            2022-12-25 08:30
                        </td>
                    </tr>
                    <tr>
                        <td>
                            审核状态
                        </td>
                        <td class="state">
                            <span>
                                审核通过
                            </span>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="res">
            <span>感谢您的服务，请收下服务积分</span>
            <span>4分</span>
        </div>
    </div>
</template>

<style scoped>
#app>div {
    width: 100vw;
    height: 100vh;
    background-color: rgb(245, 245, 245);
}

.content {
    width: 94%;
    padding: 2vh 3vw;
    background-color: white;
    font-size: 14px;
    margin-bottom: 1vh;
}

.content tr {
    display: flex;
}

.content tr td {
    display: flex;
    margin-bottom: 1vh;
    padding: 1vh 1vw;
}

.content tr td:nth-child(1) {
    flex: 1;
    font-weight: 900;
}

.content tr td:nth-child(2) {
    flex: 3;
}

.content tr .imgs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.content tr .state span {
    padding: 0px 2vw;
    background: rgb(171, 171, 171);
    color: white;
    border-radius: 10px;
}

.content img {
    width: 30%;
    margin: 1.5%;
}

.res {
    background-color: white;
    width: 100vw;
    height: 8vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    padding: 1vh 0px;
}

.res span:nth-child(1) {
    font-weight: 900;
}

.res span:nth-child(2) {
    color: rgb(200, 200, 200);
}
</style>